const { mongoose } = require('../module/db')
let foodSchema = new mongoose.Schema({
    name: String,
    price: Number,
    img: String,
    sid: {
        type: mongoose.Schema.Types.ObjectId,
        ref: 'shop'
    }

})
let foodModel = mongoose.model('food', foodSchema, 'food')



module.exports = foodModel
